package engine.graphics
{
	import away3d.animators.*;
	import away3d.core.managers.*;
	import engine.graphics.away3d.*;
	import engine.graphics.lighting.*;
	import engine.graphics.postfx.*;
	import engine.graphics.resources.*;
	import engine.loaders.*;
	import engine.math.*;
	import flash.display3D.*;
	import flash.geom.*;
	
	public class RxViewport
	{
		private var m_visible:Boolean;
		private var m_context:Context3D;
		private var m_normalizedRect:Rectangle;
		private var m_camera:RxCamera3D;
		private var m_sunLight:RxDirectionalLight;
		private var m_models:Vector.<RxLoader3D>;
		private var m_colorBlitter:RxColorBlitter;
		private var m_textureBlitter:RxTextureBlitter;
		private var m_clearColor:RxVector4;
		private var m_clearDepth:Number;
		private var m_clearMask:uint;
		private var m_backgroundTexture:RxGPUTexture2D;
		
		public function RxViewport(param1:Context3D, param2:RxColorBlitter, param3:RxTextureBlitter)
		{
			this.m_visible = false;
			this.m_context = param1;
			this.m_normalizedRect = new Rectangle(0, 0, 1, 1);
			this.m_camera = null;
			this.m_sunLight = new RxDirectionalLight();
			this.m_models = new Vector.<RxLoader3D>;
			this.m_colorBlitter = param2;
			this.m_textureBlitter = param3;
			this.m_clearColor = new RxVector4(0, 0, 0, 0);
			this.m_clearDepth = 1;
			this.m_clearMask = Context3DClearMask.COLOR | Context3DClearMask.DEPTH;
			this.m_backgroundTexture = null;
		}
	}
}